#ifndef UNTITLED_H
#define UNTITLED_H

#include "QtWidgets/QWidget"
#include <QString>
#include "untitled_global.h"

namespace Ui {
class Untitled;
}

class Untitled : public QWidget
{
    Q_OBJECT

public:
    explicit Untitled(QWidget *parent = nullptr);
    ~Untitled();
    virtual int add(int a,int b);
    virtual void printMsg(QString msg);
    virtual int  VopenWindow(int argc, char *argv[]);
    static void openWindow(void);
private slots:
    void on_pushButton_clicked();

private:
    Ui::Untitled *ui;
};


extern "C" {//一定要添加上
    UNTITLED_EXPORT  Untitled * getDllObj();

    UNTITLED_EXPORT char* text();

    UNTITLED_EXPORT int printInt();
    UNTITLED_EXPORT int openwin(int argc, char *argv[]);
}



#endif // UNTITLED_H
